﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/MasterPage.Master" AutoEventWireup="true"
    CodeBehind="Add.aspx.cs" Inherits="Token.Piker.Web.Admin.Tag.Add" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <title>添加标签</title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <p style="height:50px;line-height:50px;">
        <label for="txtTagName" style = "display:inline-block;width:100px;">
            标签名：</label>
        <asp:TextBox ID="txtTagName" runat="server" Width="200" Height="25"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="*请输入标签名"
            ControlToValidate="txtTagName"></asp:RequiredFieldValidator>
    </p>
    <p style="height:50px;line-height:50px;">
        <label for="ddlFlag" style = "display:inline-block;width:100px;">
            标签类别：</label>
        <asp:DropDownList ID="ddlFlag" runat="server" Width="100" Height="25">
            <asp:ListItem Value="0">内容标签</asp:ListItem>
            <asp:ListItem Value="1">风格标签</asp:ListItem>
        </asp:DropDownList>
    </p>
    <p style="height:50px;line-height:50px;">
        <asp:Button ID="btnAdd" runat="server" Text="添加" Width="100" Height="30" 
            onclick="btnAdd_Click" />&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Button ID="btnCancel" runat="server" Text="取消" CausesValidation="false" Width="100"
            Height="30" onclick="btnCancel_Click" />
    </p>
</asp:Content>
